#include "stdafx.h"
#include "Logger.h"



namespace woe
{

	Logger* Logger::s_LogPtr = NULL;


	Logger*	Logger::instance()
	{
		return s_LogPtr;
	}

	void	Logger::instance(Logger * logger)
	{
		if (s_LogPtr)
		{
			delete s_LogPtr;
			s_LogPtr = NULL;
		}

		s_LogPtr = logger;
	}
}